﻿namespace ApiTemplate.Entity.DataTable
{
    /// <summary>
    /// 调度任务执行日志
    /// </summary>
    [SugarTable("system_SchedulerTaskLog")]
    public class SchedulerTaskLog : Base.BaseGuidEntity
    {
        /// <summary>
        /// 所属的任务id
        /// </summary>
        public string TaskId { get; set; }

        /// <summary>
        /// 冗余属性，任务名称
        /// </summary>
        public string TaskName { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 返回结果
        /// </summary>
        [SugarColumn(ColumnDataType="text")]
        public string Result { get; set; }

        /// <summary>
        /// 是否执行成功
        /// </summary>
        public bool IsSuccess { get; set; }
    }
}
